// 问诊分类
import request from '@/utils/request'

export default {
  // 获取帖子分类-分页
  queryPageClassification(params) {
    const url = 'socialized-expert/invitationType/queryPageByCondition'
    return request.post(url, params)
  },
  // 添加分类
  addClassification(params) {
    const url = 'socialized-expert/invitationType/add'
    return request.post(url, params)
  },
  // 修改分类
  editClassification(params) {
    const url = 'socialized-expert/invitationType/edit'
    return request.put(url, params)
  },
  // 删除分类
  delClassification(params, id) {
    const url = `socialized-expert/invitationType/del?id=${id}`
    return request.delete(url, params)
  }
}
